using System.ComponentModel.DataAnnotations;

namespace UniversalAdmin.Domain.Entities;

public class Conversation : BaseEntity
{
    public Guid UserId { get; set; }
    
    [MaxLength(255)]
    public string? Title { get; set; }
    
    // Navigation properties
    public virtual User User { get; set; } = null!;
    public virtual ICollection<Message> Messages { get; set; } = new List<Message>();
}